package cn.piggy.gateway.center.domain.nginx.model.aggregates;

import cn.piggy.gateway.center.domain.nginx.model.vo.LocationVO;
import cn.piggy.gateway.center.domain.nginx.model.vo.UpstreamVO;

import java.util.List;


public class NginxConfig {

    /** 负载均衡列表 */
    private List<UpstreamVO> upstreamList;
    /** 反向代理列表 */
    private List<LocationVO> locationList;

    public NginxConfig() {
    }

    public NginxConfig(List<UpstreamVO> upstreamList, List<LocationVO> locationList) {
        this.upstreamList = upstreamList;
        this.locationList = locationList;
    }



    public List<UpstreamVO> getUpstreamList() {
        return upstreamList;
    }

    public void setUpstreamList(List<UpstreamVO> upstreamList) {
        this.upstreamList = upstreamList;
    }

    public List<LocationVO> getLocationList() {
        return locationList;
    }

    public void setLocationList(List<LocationVO> locationList) {
        this.locationList = locationList;
    }

}
